<template>
  <div class="mask">
    <img :src="src" alt="放大图" class="bigimg" />
  </div>
</template>

<script setup lang="ts">
  const src = ''
</script>

<style scoped lang="scss">
  // 定义动画 控制 loading旋转
  @keyframes l7 {
    to {
      transform: rotate(0.5turn);
    }
  }

  .mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bigimg {
    cursor: zoom-out;
    height: 44em;
  }
</style>
